﻿/*-------------------------------------------------------------------------
* 命名空间: SiliconSelect.Models/WorkingInfoModel
* 类       名: WorkingInfoModel
* 功      能:  TD
* 时      间:  2023/6/25 10:05:40
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using SiliconSelect.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SiliconSelect.Models
{
    public class WorkingInfoModel : NotifyBase
    {
        /// <summary>
        /// 花篮号
        /// </summary>
        private string? _flowerNumer;

        public string? FlowerNumber
        {
            get { return _flowerNumer; }
            set { SetProperty(ref _flowerNumer, value); }
        }

        private string? _productionDate;

        public string? ProductionDate
        {
            get { return _productionDate; }
            set { SetProperty(ref _productionDate, value); }
        }

        private string? _cutNumber;

        public string? CutNumber
        {
            get { return _cutNumber; }
            set { SetProperty(ref _cutNumber, value); }
        }

        /// <summary>
        /// 晶棒编号
        /// </summary>
        private string? _crystalNumberar;

        public string? CrystalNumber
        {
            get { return _crystalNumberar; }
            set
            {
                SetProperty(ref _crystalNumberar, value);
            }
        }

        private int _theoryCounts;

        public int TheoryCounts
        {
            get { return _theoryCounts; }
            set { SetProperty(ref _theoryCounts, value); }
        }


        private int _realCounts;

        public int RealCounts
        {
            get { return _realCounts; }
            set { SetProperty(ref _realCounts, value); }
        }

        private string? _positionNumber;

        public string? PositionNumber
        {
            get { return _positionNumber; }
            set { SetProperty(ref _positionNumber, value); }
        }

        private string? _productionLot;

        public string? ProductionLot
        {
            get { return _productionLot; }
            set { SetProperty(ref _productionLot, value); }
        }

        private string? _productionRecipe;

        public string? ProductionRecipe
        {
            get { return _productionRecipe; }
            set { SetProperty(ref _productionRecipe, value); }
        }

        /// <summary>
        /// 前一个晶棒编号
        /// </summary>
        private string? _lastCrystalNumber;

        public string? LastCrystalNumber
        {
            get { return _lastCrystalNumber; }
            set
            {
                GlobalValues.LastCrystalNumber = value;
                SetProperty(ref _lastCrystalNumber, value);
            }
        }

        /// <summary>
        /// PLC统计的总流入数
        /// </summary>
        private int _totalCountInFromPlc;

        public int TotalCountInFromPlc
        {
            get { return _totalCountInFromPlc; }
            set { SetProperty(ref _totalCountInFromPlc, value); }
        }

        /// <summary>
        /// PLC统计的总流出数
        /// </summary>
        private int _totalCountOutFromPlc;

        public int TotalCountOutFromPlc
        {
            get { return _totalCountOutFromPlc; }
            set { SetProperty(ref _totalCountOutFromPlc, value); }
        }

        /// <summary>
        /// PC统计的总分选数.
        /// </summary>
        private int _totalCountFromPc;

        public int TotalCountFromPc
        {
            get { return _totalCountFromPc; }
            set { SetProperty(ref _totalCountFromPc, value); }
        }

        /// <summary>
        /// 当前导入的目录
        /// </summary>
        private string? _recipeImportDir;

        public string? RecipeImportDir
        {
            get { return _recipeImportDir; }
            set { SetProperty(ref _recipeImportDir, value); }
        }

        /// <summary>
        /// 当前导入的配方文件名
        /// </summary>
        private string? _recipeImportFile;

        public string? RecipeImportFile
        {
            get { return _recipeImportFile; }
            set { SetProperty(ref _recipeImportFile, value); }
        }


    }
}
